﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Bakındur
{
    public class ButtonClicker
    {
        public delegate EventHandler DoubleKeyClickedEvent(Keys key);
        public event DoubleKeyClickedEvent DoubleKeyClicked;

        private Timer timer;

        public ButtonClicker()
        {
            timer = new Timer();
            timer.Interval = 400;
            timer.Tick += new EventHandler((object sender, EventArgs e) =>
            {
                timer.Enabled = false;
            });
        }
    }
}
